package com.etc.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.etc.entity.FU;
import com.etc.entity.FosterFamily;

public interface FosterFamilyMapper {
	int deleteByPrimaryKey(Integer fid);

	int insert(FosterFamily record);

	int insertSelective(FosterFamily record);

	FosterFamily selectByPrimaryKey(Integer fid);
	
	List<FosterFamily> selectByfuid(Integer fuid);

	int updateByPrimaryKeySelective(FosterFamily record);

	int updateByPrimaryKey(FosterFamily record);

	/**
	 * 模糊加分页
	 * 
	 * @param start
	 * @param pageSize
	 * @param content
	 * @return
	 */
	List<FU> selectFosterFamilyBypage(@Param("start") Integer start, @Param("pageSize") Integer pageSize,
			@Param("content") String content);
	
	List<FU> selectFosterFamilyBypage1(@Param("start") Integer start, @Param("pageSize") Integer pageSize,
			@Param("content") String content);

	int selectCount(@Param("content") String content);
	int selectCount1(@Param("content") String content);
	
	List<FU> selectAllFosterFamily();
}